/*
	Twitch
	Please leave credits to the origional devs where its due if edited.
*/

GM.Name 	= "Twitch"
GM.Author 	= "Twitch Team"
GM.Version	= "Alpha"

Debug = SinglePlayer()

AddCSLuaFile("config.lua")
include("config.lua")

function DebugPrint(...)
	if Debug then
		print(...)
	end
end

function DebugPrintTable(...)
	if Debug then
		PrintTable(...)
	end
end

local Path = string.Replace(GM.Folder,"gamemodes/","").."/gamemode/shared/"
for _,v in pairs(file.FindInLua(Path.."*.lua")) do
	include(Path..v)
	if SERVER then
		AddCSLuaFile(Path..v)
	end
end
